The TextField Component > FTextField.setSize() |
FTextField.setSize()
Availability
Flash Player 6.
Usage
myTextField_txf.setSize (width, height)
Parameters
width A number specifying the new width of the
component in pixels.
height A number specifying the new height of the component in
pixels.
Returns
Nothing
Description
Sets the dimensions in pixels of the component.
Example
The following code sets the size of the textfield to 200x200.
myTextField_txf.setSize(200,200);